<template>
  <div>
    <mt-header fixed title="新闻详情">
      <router-link to="/news" slot="left">
        <mt-button icon="back">返回</mt-button>
      </router-link>
    </mt-header>
  </div>
</template>

<script>
  export default {
    name: "newdetail",
    created() {
      //获取query传过来的数据
      let id = this.$route.query.id
      console.log(id);
    }
  }
</script>

<style scoped>

</style>
